<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        {:build_toolbar('refresh,add,delete')}
                        <a href="village/import" class="btn btn-info btn-dialog btn-import" title="{:__('Import')}"><i class="fa fa-map-signs"></i>{:__('Import')}</a>
                        <a href="log/importlog/index?type=1" class="btn btn-info btn-dialog" title="{:__('Import')}"><i class="fa fa-detail"></i>{:__('Import log')}</a>
                        <!--<a href="village/download_template" class="btn btn-info" title="{:__('Download template')}"><i class="fa fa-detail"></i>{:__('Download template')}</a>-->
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover" 
                           data-operate-edit="{:$auth->check('village/edit')}"
                           data-operate-del="{:$auth->check('village/del')}"
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>
<div id="region_div">
    <script id="province_search" type="text/html">
        <div class="row" >
            <div class="col-xs-12">
                <div class="form-inline" data-toggle="cxselect" data-selects="province,city,county">
                    <div id="province_div">
                    <select class="province form-control" name="province_id" >
                        <option value="">请选择省份</option>
                        <option :value="province.id" v-for="province in province_list">{{province.name}}</option>
                    </select>
                    </div>
                </div>
            </div>
        </div>
    </script>
    <script id="city_search" type="text/html">
        <div class="row" >
            <div class="col-xs-12">
                <div class="form-inline" data-toggle="cxselect" data-selects="province,city,county">
                    <div id="city_div">
                        <select class="city form-control"  name="city_id">
                            <option value="">请选择城市</option>
                            <option :value="city.id" v-for="city in city_list">{{city.name}}</option>
                        </select>
                    </div>
                </div>
            </div>
        </div>
    </script>
    <script id="county_search" type="text/html">
        <div class="row" >
            <div class="col-xs-12">
                <div class="form-inline" data-toggle="cxselect" data-selects="province,city,county">
                    <div id="county_div">
                        <select class="county form-control" name="county_id">
                            <option value="">请选择县／区</option>
                            <option :value="county.id" v-for="county in county_list">{{county.name}}</option>
                        </select>
                    </div>
                </div>
            </div>
        </div>
    </script>
</div>